package com.woniuxy.cglib;

import com.woniuxy.staticdaili.AutoMan;
import com.woniuxy.staticdaili.AutoManImpl;

public class TestCglib {
    public static void main(String[] args) {
        AutoKing autoKing=new AutoKing();
        CglibProxy cglibProxy=new CglibProxy();
        AutoKing autoKing1 = (AutoKing) cglibProxy.createProxyObject(autoKing);
        autoKing1.description();
        System.out.println("雷珉奥特曼最终战胜了一切");
    }
}
